<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018-10-21
  Time: 下午 3:48
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <script src="/js/jquery-1.10.2.min.js"></script>
    <script type="text/javascript" src="/js/WdatePicker.js"></script>
</head>
<style>
    #trthree td,#trthree2 td,#trthree3 td,#trthree4 td,#trthree5 td{
        margin-left: 100px;
        height: 50px;
    }
</style>
<body>
<table style="width: 100%">
    <tr id="trthree">
        <%--<td>仓库编号</td>
        <td><input name="frpid" id="frpid" v-model="iddf" ></td>--%>
        <td>仓库名称</td>
        <td><select id="selectTeacher" class="entridsel" name="entrid"></select></td>
        <td>供应商</td>
        <td><input type="text" class="form-control" id="supnameadd" placeholder="请输入名称" name="supname"></td>
        <td>材料名称</td>
        <td><input type="text" class="form-control" id="supinfonameadd" placeholder="请输入名称" name="supinfoname"></td>
    </tr>
    <tr id="trthree2">
        <td>制单日期</td>
        <td><input type="text" class="form-control" id="frpdateadd" placeholder="请输入名称" name="frpdate"></td>
        <td>送货单号</td>
        <td><input type="text" class="form-control" id="frpcodeadd" placeholder="请输入名称" name="frpcode"></td>
        <td>采购人</td>
        <td><input type="text" class="form-control" id="clnameadd" placeholder="请输入名称" name="clname"></td>
    </tr>
    <tr id="trthree3">
        <td>款号名称</td>
        <td><input type="text" class="form-control" id="haonameadd" placeholder="请输入名称" name="haoname"></td>
        <td>入库单号</td>
        <td><input type="text" class="form-control" id="frprucodeadd" placeholder="请输入名称" name="frprucode"></td>
        <td>批次号</td>
        <td><input type="text" class="form-control" id="frpcihaoadd" placeholder="请输入名称" name="frpcihao"></td>
    </tr>
    <tr id="trthree4">
        <td>规格</td>
        <td><input type="text" class="form-control" id="frpcguiadd" placeholder="请输入名称" name="frpcgui"></td>
        <td>季度</td>
        <td><input type="text" class="form-control" id="seanameadd" placeholder="请输入名称" name="seaname"></td>
        <td>单位</td>
        <td><input type="text" class="form-control" id="frpweiadd" placeholder="请输入名称" name="frpwei"></td>
    </tr><br/>
    <tr id="trthree5">
        <td>申请数量</td>
        <td><input type="text" class="form-control" id="frpshennumadd" placeholder="请输入名称" name="frpshennum"></td>
        <td>总数量</td>
        <td><input type="text" class="form-control" id="frpallnumadd" placeholder="请输入名称" name="frpallnum"></td>
    </tr>
</table>
    <input type="button" value="添加" id="addinsert">
</body>
</html>
<script>
    $("#addinsert").click(function(){
        alert(12)
        $.ajax({
            url:"frpru/addfrpru",
            type:"post",
            data:$("#myform1").serialize(),
            dataType:"json",
            success:function(data){

            }
        })
    })
</script>
